//
//  FeatureTableViewCell.h
//  iBook

//    Cell中绑定ScrollView的方法  http://www.2cto.com/kf/201312/263401.html
//
//  Created by wangjing on 14/12/16.
//  Copyright (c) 2014年 wikiflyer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FeatureScrollCell.h"

@protocol FeatureTableCellDelegate <NSObject>
-(void)showBtnClick:(int)tag;
@end

@interface FeatureTableViewCell : UITableViewCell

@property (assign, nonatomic) id<FeatureScrollCellDelegate>cellDelegate;        //内部ScrollCell协议
@property (assign,nonatomic) id<FeatureTableCellDelegate>showDelegate;      //显示全部show_all按钮协议

@property (weak, nonatomic) IBOutlet UILabel *label_title;
@property (weak, nonatomic) IBOutlet UILabel *lable_all;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

//把加载数据（使用xib创建cell的内部细节进行封装）
+(instancetype)CellWithTableView:(UITableView *)tableView;

-(void)initData:(NSIndexPath *)indexPath;
@end


